import { ApiProperty } from "@nestjs/swagger"

export class BlogDto{
    @ApiProperty({description:'主键'})
    blogId:number

    @ApiProperty({description:'标题'})
    title:string

    @ApiProperty({description:'内容'})
    content:string

    @ApiProperty({description:'创建人ID'})
    userId:number
    
    @ApiProperty({description:'标签ID数组'})
    tags:[number]

    @ApiProperty({description:'页面展示内容'})
    htmlContent:string
}